import request from '@/utils/request'

// 查询福利充值列表
export function listWelfareRecharge(query) {
  return request({
    url: '/finance/welfareRecharge/list',
    method: 'get',
    params: query
  })
}

// 查询福利充值详细
export function getWelfareRecharge(id) {
  return request({
    url: '/finance/welfareRecharge/' + id,
    method: 'get'
  })
}

// 新增福利充值
export function addWelfareRecharge(data) {
  return request({
    url: '/finance/welfareRecharge',
    method: 'post',
    data: data
  })
}

// 修改福利充值
export function updateWelfareRecharge(data) {
  return request({
    url: '/finance/welfareRecharge',
    method: 'put',
    data: data
  })
}

// 删除福利充值
export function delWelfareRecharge(id) {
  return request({
    url: '/finance/welfareRecharge/' + id,
    method: 'delete'
  })
}

// 导出福利充值
export function exportWelfareRecharge(query) {
  return request({
    url: '/finance/welfareRecharge/export',
    method: 'get',
    params: query
  })
}